/***********************************************************************************
 * 
 * Copyright (c) 2014 Kamil Baczkowicz
 * 
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * 
 *    Kamil Baczkowicz - initial API and implementation and/or initial documentation
 *    
 */
package pl.baczkowicz.mqttspy.events.queuable.ui;

import pl.baczkowicz.mqttspy.connectivity.MqttContent;
import pl.baczkowicz.mqttspy.storage.MessageListWithObservableTopicSummary;

public class TopicSummaryRemovedMessageEvent implements MqttSpyUIEvent
{
	private final MqttContent removed;

	private final MessageListWithObservableTopicSummary list;

	public TopicSummaryRemovedMessageEvent(final MessageListWithObservableTopicSummary list, final MqttContent removed)
	{
		this.list = list;
		this.removed = removed;
	}

	public MqttContent getRemoved()
	{
		return removed;
	}

	public MessageListWithObservableTopicSummary getList()
	{
		return list;
	}
}
